/* ----------------------------------------------------------------------------
* File: utils.cpp
*
* Desc: Common utils for plugin
*
* Created: 20/12/2010, by Alexey Korshunov
* ---------------------------------------------------------------------------- */
#include <stdio.h>
#include <stdarg.h>
#include <windows.h>


void MyOutputDebugString(const char *str, ...)
{
	char buf[2048];
	va_list ptr;

	va_start(ptr,str);

	vsprintf(buf, str, ptr);
	OutputDebugStringA(buf);

	va_end(ptr);
}